package com.admin.rxandroidtest;

import java.util.List;

/**
 * Created by 吴昶 on 2018/8/15.
 */
public class Result extends IRequstCode{
    private String status;
    private int newincluded;
    private List<InfoDetail> data=null;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getNewincluded() {
        return newincluded;
    }

    public void setNewincluded(int newincluded) {
        this.newincluded = newincluded;
    }

    public List<InfoDetail> getData() {
        return data;
    }

    public void setData(List<InfoDetail> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        StringBuffer stringBuffer=new StringBuffer("Result{" +
                "status='" + status + '\'' +
                ", newincluded=" + newincluded );
        for (int i=0;i<data.size();i++){
            stringBuffer.append(",").append("{").append(data.get(i).toString()).append("}");
        }
        stringBuffer.append(")");
        return stringBuffer.toString();
    }

}
